<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>hello vue</title>
<style type="text/css">

</style>
</head>
<body>







<div id="app">

	 <h1>{{msg}}</h1>
   <!-- v-bind 单项数据 -->
    <!-- <input type="text" v-bind:value="msg"> -->
<ol>
  <li>v-model双向数据绑定，v-model只能运用在表单元素之内</li>
  <li>可以用在input{ text address.email} select checkbox textarea</li>
</ol>
    
    <input type="text" v-model:value="msg">

</div>









<br>
<script src="vue.js"></script>

<script type="text/javascript">

var app = new Vue({
  el: '#app',

  data: {
  	msg:"hello world!"
  },

  methods:{

  	


  }

})





</script>

	
</body>
</html>